package org.hbs.blog.code.biz.impl;

import javax.annotation.Resource;

import org.hbs.blog.code.biz.IBlogTypeBiz;
import org.hbs.blog.code.dao.IBlogTypeDao;
import org.hbs.blog.code.entity.BlogType;
import org.springframework.stereotype.Service;

@Service("blogTypeBiz")
public class BlogTypeBiz implements IBlogTypeBiz {

	@Resource(name="blogTypeDao")
	private IBlogTypeDao typeDao;

	public BlogType insertBlogType(BlogType blogType) {
		return typeDao.insertBlogType(blogType);
	}
}
